package com.greydawn.MementoPattern;

/**
 * @Author: zhongwr
 * @Create: 2021/12/19 14:57
 * @Version 1.0
 * @Description: 备忘录类，具体保存状态的类
 */
public class Memento {

    private int lifeValue;

    public Memento(int lifeValue){
        this.lifeValue = lifeValue;
    }

    public int getLifeValue() {
        return lifeValue;
    }
}
